<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<%@ include file="/WEB-INF/jsp/header.jsp" %>
<%@ include file="/WEB-INF/jsp/menu.jsp" %>
<form name="frmCabecera" method="post" action="insertar_invitado.html">
	<table>
		<tr>
			<td>Estudiante o Docente: </td>
			<td>
				<select name="cboPersona">
					<c:forEach items="${HS_DATOS2.HM_LST_Personas}" var="lst" varStatus="i">
						<option value='${lst.idUsuario}'>${lst.nombre} ${lst.paterno} ${lst.materno}</option>
					</c:forEach>
				</select>
			</td>
			<td><input type="submit" value="Agregar" /></td>
		</tr>
	</table>
</form>

<form action="BuscarInvitados.html" method="get">
<h3>Listar Invitados</h3>

<input type="submit" value="Buscar" />
<table>
	<tr style="font-weight: bold; font-style: inherit; font-stretch: condensed; font: bold; font-family: serif; color: black; border: 1px speak-punctuation: 3px; ">
		<td>Id</td>
		<td>NOMBRE</td>
		<td>CARGO</td>
		<td>ELIMINAR</td>
	</tr>
	<c:forEach items="${HS_DATOS2.HM_LST_Invitado}" var="lst" varStatus="i">
		<tr>			
			<td>${lst.idInvitadoIdea}</td>
			<td style="width:80px;">
				<a href="eliminar_invitado.html?codigo=${lst.idInvitadoIdea}">
					Eliminar
				</a>				
			</td>
		</tr>
	</c:forEach>
</table>
</form>
<%@ include file="/WEB-INF/jsp/footer.jsp" %>